using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Gammar.Digger.Entity;
using Gammar.Digger.SystemFramework;
namespace Gammar.Digger.IDAL
{
	public interface Idigger_url
	{
		//C
        int Add(digger_urlEntity digger_url);
		
		int AddPartial(digger_urlEntity entity);

        //U
        int Update(digger_urlEntity digger_url);

        int Updatepartial(digger_urlEntity entity, string where);

		int UpdateByurl_id(digger_urlEntity digger_url);
		
        //D
        int Delete(string where);

        //R
        object GetCell(string cellName, string where);

        digger_urlEntity GetEntity(int primaryKeyId);

        DataTable GetTable(string where);

        SortList<digger_urlEntity> GetList(string strWhere);

        List<digger_urlEntity> GetPartial(string[] selectedFields,string where);

        int Add(digger_urlEntity entity, string tableName);
        SortList<digger_urlEntity> GetList(string strWhere, string tableName);
	}
}

